/**
 * 
 */
package com.m7012e.a_remote.ar_stub.old;

import java.net.InetSocketAddress;

import com.leoj.utils.Couple;

/**
 * @author leoj
 *
 */
public class ARemoteDisplay extends Couple<InetSocketAddress, Integer> implements Comparable<ARemoteDisplay>{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8161932525298714917L;

	/**
	 * @param first
	 * @param second
	 */
	public ARemoteDisplay(InetSocketAddress first, Integer second) {
		super(first, second);
	}

	/* (non-Javadoc)
	 * @see java.lang.Comparable#compareTo(java.lang.Object)
	 */
	@Override
	public int compareTo(ARemoteDisplay o) {
		return this.getSecond().compareTo(o.getSecond());
	}

}
